package com.ruoyi.store.service.impl;

import com.ruoyi.store.domain.StuQuesAnwser;
import com.ruoyi.store.mapper.StuQuesAnwMapper;
import com.ruoyi.store.service.IStuQuesAnwService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class StuQuesAnwImpl implements IStuQuesAnwService {
    @Resource
    private StuQuesAnwMapper stuQuesAnwMapper;

    @Override
    public int insertStuQuesAnw(StuQuesAnwser stuQuesAnwser) {
        return  stuQuesAnwMapper.insertStuQuesAnw(stuQuesAnwser);
    }

    @Override
    public StuQuesAnwser selectAnwSerById(Long quesId) {
        return stuQuesAnwMapper.selectAnwSerById(quesId);
    }
}
